<?php
/* @var $this MemTypeController */
/* @var $data MemType */
?>
<tr>
	<td  class="pl15 pro">
		<?php echo CHtml::checkBox('id[]','',array('class'=>'chk f_l chkitem','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zmt_id))?>
		<div class="">
		<?php echo Tool::thumb($data->zmt_pic,30,30,$data->zmt_title); ?>
		</div>
	</td>
	<td width="20%">
		<?php echo CHtml::encode($data->zmt_title); ?>
	</td>
	<td width="20%">
		<?php echo MemGroup::model()->getMemGroupName($data->zmg_id) ?>
	</td>
	<td width="25%">
		<?php echo CHtml::encode(mb_substr($data->zmt_content,0,20,'utf8')); ?>
	</td>
	<td width="10%">
		<?php echo $data->zmt_stat; ?>
	</td>
	<td class="button-column"  width="12%">
			<?php echo CHtml::link(Yii::t('glo','Update'),array('update','id'=>$data->zmt_id),array('class'=>'c_06c'))?>
			<?php if($data->zmt_type=='define') echo CHtml::link(Yii::t('glo','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("'.$this->pre_module_url.'/memType/delete/id/'.$data->zmt_id.'","你确定要删除这条信息吗？")'))?>  
	</td>
</tr>